ABC142 C - Go to School
提出
TLE
code: python
n = int(input())
a = list(map(int, input().split()))
for i in range(1, n+1):
print(a.index(i) + 1, end = " ")
解答
code: python
n = int(input())
a = list(map(int,input().split()))
for i in range(n):
print(*ans)
メモ
.index()で探索するのではなく配列で管理しておく
提出
code: python
n = int(input())
a = list(map(int, input().split()))
for i, num in enumerate(a):
for i in ans:
print(i, end=" ")